package com.mtl.sort.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Column;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
/**
 * 文章分类实体类
 *
 * @author qms
 * @since 2019-08-06
 */
@Data
@Table(name="mtl_sort")
@ApiModel(value = "Sort对象", description = "文章分类")

public class Sort implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 鍒嗙被id
     */
    @ApiModelProperty(value = "鍒嗙被id")
    @Id

  private Integer sortId;
    /**
     * 父id
     */
    @ApiModelProperty(value = "父id")
  
  private Integer pid;
    /**
     * 分类名称
     */
    @ApiModelProperty(value = "分类名称")
  
  private String name;
    /**
     * 跳转地址
     */
    @ApiModelProperty(value = "跳转地址")
  
  private String url;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
  
  private LocalDateTime creatTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
  
  private LocalDateTime updataTime;


}
